/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sakila.dao;

import java.util.List;
import sakila.entity.Actor;

/**
 *
 * @author THANH LAM
 */
public class ActorDAO extends AbstractDAO<Actor>{

  

    @Override
    public List getAll() {
        return this.executeHQLQuery("from Actor a");
    }

    @Override
    public Actor searchById(int id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
